package com.lagou.service.code.dao;

import com.lagou.service.code.pojo.AuthCode;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AuthCodeDAO extends JpaRepository<AuthCode, Long> {

    AuthCode findFirstByEmailOrderByCreateTimeDesc(String email);

}
